package com.mzl.lal4cloud.lxw4rf.service.contract.http;

import com.mzl.lal4cloud.lxw4rf.service.contract.bean.HeaderConfig;
import okhttp3.Headers;

/**
 * @author J_luo
 */
public interface RequestHttp<H, P> {

  /**
   * 返回httpClient.
   *
   * @return 返回httpClient
   */
  H getRequestHttpClient();

  /**
   * 返回httpProxy.
   *
   * @return 返回httpProxy
   */
  P getRequestHttpProxy();

  /**
   * 返回HttpType.
   *
   * @return HttpType
   */
  HttpType getRequestType();

  /**
   * 获取请求头相关参数
   * @return
   */
  HeaderConfig getHeaderConfig();
}
